#ifndef SETTINGPAGE_H
#define SETTINGPAGE_H

#include <QWidget>

class QSettings;
class QLabel;
class QLineEdit;
class SettingPage : public QWidget
{
    Q_OBJECT
public:
    explicit SettingPage(QWidget *parent = nullptr);


private
slots:
    void loadConfig();
    void saveConfig();
signals:
    void sendDatas(const QMap<QString,QString>& datas);
    void reciveDatas(const QMap<QString,QString>& datas);

private:
    void setupUi();
    void initWidgets();
    void initDatas();


};

#endif // SETTINGPAGE_H
